<template>
  <div id="app">
    <div class="content">
      <keep-alive>
        <router-view></router-view>
      </keep-alive>
    </div>
    <footer>
      <router-link class="aa" tag="div" to="/Home"><img class="image" src="static/img/16.png" alt=""> <div>菜谱</div></router-link>
      <router-link  class="aa" tag="div" to="/topic"><img class="image" src="static/img/17.png" alt=""><div>话题</div></router-link>
      <router-link  class="aa" tag="div" to="/focusOn"><img class="image" src="static/img/18.png" alt=""><div>关注</div></router-link>
      <router-link  class="aa" tag="div" to="/my"><img class="image" src="static/img/19.png" alt=""><div>我的</div></router-link>
    </footer>
  </div>
</template>

<script>
export default {
  name: "App"
};
</script>

<style>
body {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

body,
html,
#app {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.content {
  height: 100%;
  flex: 1;
  overflow: auto;
}

#app footer {
  display: flex;
  justify-content: space-around;
  padding: .3rem 0;


}

#app header{
  display: flex;
}

.aa{
  font-size: .6rem;
}

.image{
  width:1.1rem;
  height:1.1rem;
}



</style>
